<?php
namespace Admin\Controller;
class CategoryController extends BaseController{
    function index(){

        if(IS_AJAX){
            
             $category =  $this->getCategory();
   
            $this->ajaxReturn($category);
           
        }
        $this->display();
    }
    


    }